package com.ztgf.order.models.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 订单合同的参数关系表BO
 *
 * @author YUE
 * @Date 2020-07-20 17:48:20
 */
@Data
public class OrderContractParamRelationBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "开始时间")
    private Date startDate;
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "首期款比例")
    private Integer firstBalance;
    @ApiModelProperty(value = "尾款比例")
    private Integer tailBalance;
    @ApiModelProperty(value = "首款价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal firstMoney;
    @ApiModelProperty(value = "尾款价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal tailMoney;
    @ApiModelProperty(value = "备注")
    private String remarks;
}
